package org.framework.define.bean.entity;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the tbl_user_rule database table.
 * 
 */
@Entity
@Table(name="tbl_user_rule")
public class TblUserRule implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(unique=true, nullable=false)
	private int id;

	@Column(nullable=false)
	private int level;

	@Column(nullable=false)
	private int num;

	@Column(nullable=false)
	private byte type;

	public TblUserRule() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getLevel() {
		return this.level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getNum() {
		return this.num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public byte getType() {
		return this.type;
	}

	public void setType(byte type) {
		this.type = type;
	}

}